package com.bestcem.xm.deliver.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName ds_deliver_wechatdeliver
 */
@TableName(value = "ds_deliver_wechatdeliver")
@Data
@EqualsAndHashCode(callSuper = true)
public class DeliverWechatDeliver extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 组织ID
     */
    @TableField(value = "org_id")
    private String orgId;

    /**
     * 推送渠道号
     */
    @TableField(value = "code")
    private String code;

    /**
     * 问卷id
     */
    @TableField(value = "survey_id")
    private String surveyId;

    /**
     * 投放id
     */
    @TableField(value = "deliver_id")
    private String deliverId;

    /**
     * 模板id
     */
    @TableField(value = "template_id")
    private String templateId;

    /**
     * 模板字段
     */
    @TableField(value = "template")
    private String template;

    /**
     * 投放范围
     */
    @TableField(value = "group_id_list")
    private String groupIdList;

    /**
     * 层级同步状态
     */
    @TableField(value = "gtype")
    private Integer gtype;

    /**
     * 投放类型
     */
    @TableField(value = "ttype")
    private Integer ttype;

    /**
     * 延迟发放时间
     */
    @TableField(value = "delay_time")
    private String delayTime;

    /**
     * 唯一编号
     */
    @TableField(value = "hashcode")
    private String hashcode;

    /**
     * 免打扰联系人ID
     */
    @TableField(value = "no_disturb_member_id_list")
    private String noDisturbMemberIdList;
}